package goroutingHelper

import (
	"gitee.com/lv_baobao/gcore/logHelper"
)

func Start(fun func()) {
	go func() {
		defer func() {
			if r := recover(); r != nil {
				logHelper.Error(r)
			}
		}()
		fun()
	}()
}
